package com.example.demo1.wyy.repository;


import com.example.demo1.wyy.model.LegalPerson;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by Lx on 2018/6/27.
 */
public interface LegalPersonReposirtory extends JpaRepository<LegalPerson,Integer>{
    List<LegalPerson> findByUserId(Integer id);
    List<LegalPerson> findByIdIn(List<Integer> idList);
}
